Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove test if dest file exist on path_rename wasi syscall (for #3228) #3230

Merged
merged 12 commits into from
Oct 18, 2022

Conversation

ptitSeb
Copy link
Contributor

@ptitSeb ptitSeb commented Oct 14, 2022

Description

The test was added "just in case", but is not conforment with WASI spec, were path_rename should befave like POSIX renameat

@ptitSeb ptitSeb requested a review from syrusakbary October 14, 2022 12:53
Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add a test verifying this is fixed

@ptitSeb ptitSeb requested a review from syrusakbary October 17, 2022 10:43
Copy link
Contributor

@Michael-F-Bryan Michael-F-Bryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

We've already discussed most of my comments over Zoom and I'm happy with the PR. There are a couple suggestions, but they're mostly cosmetic changes.

lib/vfs/src/mem_fs/filesystem.rs Outdated Show resolved Hide resolved
lib/wasi/src/syscalls/mod.rs Outdated Show resolved Hide resolved
lib/wasi/src/syscalls/mod.rs Show resolved Hide resolved
lib/wasi/src/syscalls/mod.rs Show resolved Hide resolved
lib/wasi/src/syscalls/mod.rs Outdated Show resolved Hide resolved
tests/wasi-wast/wasi/tests/path_rename.rs Outdated Show resolved Hide resolved
tests/wasi-wast/wasi/tests/path_rename.rs Outdated Show resolved Hide resolved
tests/wasi-wast/wasi/tests/path_rename.rs Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants